<?php

namespace app\api\logic;

use app\api\model\DataWechat;
use app\common\basics\Logic;
class DataWechatLogic extends Logic
{
     /**
     * 查询
     */
    public static function  getInfo($where=[],$field='*')
    {
        $result = DataWechat::where($where)->field($field)->findOrEmpty();
        if($result->isEmpty()) return [];
        return $result->toArray();
    }
}
